import Image from "../../images/footer.png";
import styles from "./index.module.less";

export const Footer = ({ showSubmit, onSubmit }) => {
  return (
    <div className={styles.container}>
      <img src={Image} />

      {showSubmit && (
        <div className={"footer"}>
          <div className={"submit"} onClick={onSubmit}></div>
        </div>
      )}
    </div>
  );
};
